Skip to content

[tests] Port cppia client tests to utest - #1440

Merged
Simn merged 4 commits into
HaxeFoundation:masterfrom
tobil4sk:cleanup-cppia-tests
Oct 29, 2026
Merged

Simn merged 4 commits into
HaxeFoundation:masterfrom
tobil4sk:cleanup-cppia-tests

Conversation

@tobil4sk

Copy link
Copy Markdown
Member

The custom control flow handling with Common.status was getting unwieldy
and difficult to understand/maintain. TestCommon was already using
utest for host side checks. Now the client side checks are also using
utest Asserts.

The TestCommon related code is now also separated more clearly from the
general client side test cases.

The custom control flow handling with Common.status was getting unwieldy
and difficult to understand/maintain. TestCommon was already using
utest for host side checks. Now the client side checks are also using
utest Asserts.

The TestCommon related code is now also separated more clearly from the
general client side test cases.
There is no reason to have this on the host anymore. The important part
(calling .addValue) was already happening on the client.
These used to throw Null Reference errors. If a regression was to occur,
they should be caught rather than causing the entire test suite to error
out.
For some reason, running these checks in instance methods caused the
original problems to be obscured when reintroducing the bugs.
@Simn
Simn merged commit 058bd16 into HaxeFoundation:master Oct 29, 2026
181 checks passed
@tobil4sk
tobil4sk deleted the cleanup-cppia-tests branch October 29, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants